<template>
  <div class="index"></div>
</template>

<script>
export default {
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {
    nextView() {
      this.$router.push("/lottery");
    }
  },
  created() {
    var _this = this;
    document.onkeydown = function() {
      let key = window.event.keyCode;
      if (key == 39) {
        _this.nextView();
      }
    };
  },
  mounted() {}
};
</script>
<style scoped>
.index {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/image/fengmian.png") center center no-repeat;
  background-size: cover;
}
</style>